from django.db import models

# Create your models here.
class Author(models.Model):
    pass


class Poem(models.Model):
    title = models.CharField(max_length=1024)
    author = models.ForeignKey(Author,on_delete=models.CASCADE)
    created_at = models.DateTimeField(auto_now_add=True)


class Translation(models.Model):
    """ 译 """
    pass

class Feeling(models.Model):
    """ 赏 """
    pass

class Note(models.Model):
    """ 注 """
    pass